package com.yh.correct.service;


import java.util.List;
import java.util.Map;

import com.yh.correct.model.Page;
import com.yh.correct.model.Register;

/**
 * 服刑人员报到信息service接口
 *
 * @author Administrator
 */

public interface IRegisterService {
    /**
     * 增加服刑人员报到信息
     */
    int addRegister(Register register) throws Exception;

    /**
     * 删除服刑人员报到信息
     */
    int delRegister(int id) throws Exception;

    /**批量删除报到信息
     * @param list
     * @return
     * @throws Exception
     */
    int deleteBatch(List<Integer> list) throws Exception;

    /**
     * 修改服刑人员报到信息
     */
    int editRegister(Register register) throws Exception;

    /**
     * @author Administrator
     * @注释 : 查询单个报道信息
     */
    Map<String, Object> getIdRegister(int id) throws Exception;

    /**
     * @author Administrator
     * @注释 : 查询所有
     */
    List<Map<String, Object>> getAllRegister() throws Exception;

    /**
     * 模糊查询服刑人员报道信息
     */
    Page getLikeRegister(Map<String, Object> register) throws Exception;

}
